-
Notifications
You must be signed in to change notification settings - Fork 27.4k
chore(docs): deprecation notices for methods and properties #15394
chore(docs): deprecation notices for methods and properties #15394
Conversation
I'm aware that Travis is not happy. I will fix this later today and maybe even break the changes into smaller commits for easier reviewing :-) |
5f5acc4
to
08fce2d
Compare
OK, smaller commits. Travis is happy. |
@@ -5,6 +5,8 @@ angular.module('ngCookies'). | |||
* @ngdoc service | |||
* @name $cookieStore | |||
* @deprecated | |||
* Please use the {@link ngCookies.$cookies `$cookies`} service instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hasn't this been deprecated for some time now? Perhaps we should schedule a removal timeline?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be also nice to mention the version in which this was deprecated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but not in this PR :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. :)
@@ -662,6 +662,12 @@ ul.events > li { | |||
max-width: 100%; | |||
} | |||
|
|||
.deprecated-title { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this technically be part of the deprecation commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're right, although I am not sure I have the energy for further rebasing :-/
Good stuff. Having the templates in the repo allows us to move faste with changes, too.
|
That would be wonderful. |
|
||
{% code %} | ||
<script src="angular.js"> | ||
<script src="{$ doc.packageFile $}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing closing <script>
tags.
<a href="http://bower.io">Bower</a> e.g. | ||
{% code %}bower install {$ doc.packageName $}#X.Y.Z{% endcode %} | ||
<a href="http://bower.io">Bower</a><br> | ||
e.g. {% code %}bower install {$ doc.packageName $}@X.Y.Z{% endcode %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be #
instead of @
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is what is in dgeni-packages - so it looks like a breakage - but then it is re-fixed in a subsequent commit.
@@ -69,7 +61,6 @@ <h2 id="known-issues">Known Issues</h2> | |||
{% endif %} | |||
|
|||
|
|||
{% if doc.componentGroups.length %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is what is in dgeni-packages - so it looks like a breakage - but then it is re-fixed in a subsequent commit.
The content of an annotation is completely configurable. But it can't really use sub-annotations, because the parser would see them as no top level annotations.
Then we would just parse for the attributes at the start of the description and pull them out. Is that what you want? |
08fce2d
to
bd33823
Compare
Fixed up. |
@petebacondarwin Yes, this custom annoation content like you describe is what I'd like. I think |
bd33823
to
161f2e8
Compare
OK, so I have updated the I also moved the docs.css file changes to the correct commit :-) @Narretz PTAL |
There are some linting violations but it's most likely due to us not checking docs properly. We can fix it later. The new |
The deprecation notice has disappeared from the |
113d257
to
00ad1ec
Compare
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements
Other information:
Closes #15351